﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
	<script src="../lib/Query.js"></script>
	<script src="../lib/Coro.js"></script>
	<script src="../lib/jsm.js"></script>
</head>
<body>
	<h1>Output：</h1>
	<div id="console" style="border:1px solid #ddd; padding:20px; border-radius:20px;"></div>
	<script>
		//var console = {
		//	log : function(msg){
		//		var div = document.createElement("div");
		//		div.innerText = msg;
		//		document.getElementById("console").appendChild(div);
		//	}
		//}
	</script>

	aa
	<script type="text/jwml" var="seg1">
.div({style:"height:100px; height:100px; background:red;"})`hello world`()
	</script>
	bb
	<script type="text/jwml">
.div({style:"height:100px; height:100px; background:yellow;"})`hello world`()
	</script>
	
	<input type="button" onclick="seg1.show=true;" value="显示" />
	<input type="button" onclick="seg1.show=false;" value="隐藏" />
</body>
</html>
